.travelAssistant {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: #4a90e2;
  color: white;
  border-bottom: 1px solid #e0e0e0;
}

.avatar {
  margin-right: 12px;
}

.avatar img {
  border-radius: 50%;
  object-fit: cover;
}

.title {
  font-size: 18px;
  font-weight: 600;
}

.messagesContainer {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.messageWrapper {
  display: flex;
  margin-bottom: 8px;
}

.userMessage {
  justify-content: flex-end;
}

.assistantMessage {
  justify-content: flex-start;
}

.messageBubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  position: relative;
}

.userMessage .messageBubble {
  background-color: #4a90e2;
  color: white;
  border-top-right-radius: 4px;
}

.assistantMessage .messageBubble {
  background-color: white;
  color: #333;
  border-top-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.messageContent {
  font-size: 16px;
  line-height: 1.4;
  word-break: break-word;
}

.messageTime {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
  text-align: right;
}

.inputContainer {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: white;
  border-top: 1px solid #e0e0e0;
}

.inputField {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  font-size: 16px;
  resize: none;
  outline: none;
  max-height: 100px;
  overflow-y: auto;
}

.inputField:focus {
  border-color: #4a90e2;
}

.sendButton {
  margin-left: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #4a90e2;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.sendButton:hover {
  background-color: #3a80d2;
}

.sendButton:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.loadingIndicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 24px;
}

.loadingDot {
  width: 8px;
  height: 8px;
  background-color: #999;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.loadingDot:nth-child(1) {
  animation-delay: -0.32s;
}

.loadingDot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
  } 
  40% {
    transform: scale(1);
  }
}